<?php
    header('Content-type:text/json');
    require "../../connection.php";
    $id = $_POST['id'];
    $option = array("id"=>$id);
    $result = $conn->where($option)->select("banner");
    echo json_encode($result);
?>